package cn.alpha.open.autocode.source;

public interface SqlDialect {

	/**获得表信息的sql，返回字段：tableName, tableComment*/
	public String getTableSql();

	/**获得字段信息的sql，返回字段：
	 * columnName,ordinalPosition,isNullable,dataType,precision,dataLength
	 * scale,datetimePrecision,columnComment */
	public String getColumnSql(String tableName);
	
	/**获得主键字段名，返回字段：pkName*/
	public String getPKSql(String tableName);
	
}
